package com.chong.controllers;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/hello")
public class HelloController {

    @RequestMapping("/world")
    public String helloWorld(String s){
        System.err.println("传入的值为： " + s);
        return "传入的值为：" + s;
    }
}

